package com.zzyl.nursing.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.zzyl.common.annotation.Excel;
import com.zzyl.common.core.domain.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class NursingTaskDto extends BaseEntity {
    /** 老人id */
    @Excel(name = "老人id")
    private Long elderId;
    /** 老人姓名 */
    @Excel(name = "老人姓名")
    private String elderName;

    /** 结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;

    /** 护理员id  多个id,以逗号分隔 */
    @Excel(name = "护理员id")
    private String nursingId;
    /** 预计服务时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "预计服务时间", width = 30, dateFormat = "yyyy-MM-dd")
    private LocalDateTime estimatedServerTime;
    /**页码**/
    private Integer pageNum;

    /** 每页数量**/
    private Integer pageSize;

    /** 项目id */
    @Excel(name = "项目id")
    private Long projectId;
    /** 护理项目名称 */
    @Excel(name = "护理项目名称")
    private String projectName;
    /** 开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date startTime;

    /** 状态  1待执行 2已执行 3已关闭  */
    @Excel(name = "状态  1待执行 2已执行 3已关闭 ")
    private Integer status;
}
